package com.java;


public class UsePerson {
    public static void main(String[] args) {
        Person person = new Person();
        person.show();

        person.name = "赵丽颖";
        //person.age = 20;
        //person.age = -20;
        person.setAge(-20);//间接访问
        person.show();
    }
}
